package com.xfcy.content.model.dto;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 晓风残月Lx
 * @date 2023/6/16 19:35
 */
@Data
@ToString
public class AddCourseTeacherDto {

    @NotNull(message = "对应课程不能为空")
    private Long courseId;

    @NotBlank(message = "教师姓名不能为空")
    private String teacherName;

    @NotBlank(message = "教师职位不能为空")
    private String position;

    @NotBlank(message = "教师简介不能为空")
    private String introduction;
}
